<!--
 * @Description: 基础组件-button封装，添加了黑色背景，详情见ui确定按钮
 * @Author: acexu 578599619@qq.com
 * @Date: 2024-11-02 10:46:15
 * @LastEditors: acexu 578599619@qq.com
 * @LastEditTime: 2024-11-03 12:37:05
 * @FilePath: /xp-platform-mobile/sheep/basicComponents/b-button.vue
 * @demoPic: 
-->
<template>
	<view>
		<button :type="type" :size="size" :style="style">
			<slot></slot>
		</button>
	</view>
</template>

<script>
	export default {
		name: 'b-button',
		props: {
			type: {
				type: String,
				default: 'default',
			},
			size: {
				type: String,
				default: 'default',
			},
			style: {
				type: Object,
				default: {},
			},
		},
		data() {
			return {};
		},
	};
</script>

<style lang="scss" scoped>
	:deep(uni-button[type='primary']) {
		background-color: #111111;
	}
</style>